<%@ Page language="c#" Codebehind="Page1.aspx.cs" AutoEventWireup="false" Inherits="WebApp_CS.Page1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title>SSO Test App1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name=vs_defaultClientScript content="JavaScript">
		<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
  </HEAD>
	<body>
		<form id="Page1Form" method="post" runat="server">
			<h3>SSO Test Application 1</h3>
			<p>Click the GetLogin button to retrieve the cached login information.<br>
			If the cache is valid, the login ID of the user will be shown in the text box and the Logout button is displayed.<br>
			Else, the text box will be empty and the Login button will be displayed.</p>
			<p>You may enter a login ID in the text box and click the Login button to cache the login.<br>
			Clicking the Logout button removes any cached information for the specified login ID.</p>
			<table>
				<tr><td colspan="2"><h3><%= DateTime.Now %></h3></td></tr>
				<tr>
					<td colspan="2"><asp:Button ID="getLogin" Runat="server" Text="Get Login" CausesValidation="False"/></td>
				</tr>
				<tr>
					<td><asp:TextBox ID="loginID" Runat="server" Visible="False"/></td>
					<td><asp:Button ID="login" Runat="server" Text="Login" Visible="False"/></td>
				</tr>
				<tr>
					<td colspan="2"><asp:RequiredFieldValidator ID="loginIDValidator" Runat="server" Display="Dynamic"
						ControlToValidate="loginID" ErrorMessage="Login ID is required" Enabled="False"/></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
